﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TVNDBLayer;
using TVNDBLayer.BLL;

public partial class AlbumControl : System.Web.UI.UserControl
{
    private string _classItem;
    public string ClassItem
    {
        get
        {
            if (_classItem == null)
            {
                return "item";
            }
            else
            {
                return _classItem;
            }
        }
        set
        {
            _classItem = value;
        }
    }
    public object DataSource { get; set; }
    private string _isMy;
    public string IsMy
    {
        get
        {
            if (_isMy == null)
                _isMy = "none";
            return _isMy;
        }
        set
        {
            _isMy = value;
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {

        rptAlbum.DataSource = DataSource;
        rptAlbum.DataBind();
    }
}